home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AOCE / Development Tools / Sample Code / Messaging Service Access Module / Internet PMSAM / Internet PMSAM source / parser.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-08  |  530 b   |  15 lines  |  [TEXT/MPS ]

  1. #pragma once
  2. #define __GW_PARSER__
  3.  
  4. short CountLines(char *text);
  5. short CountCRLines(char *text);
  6. void GetWord(char **word,char **text);
  7. void GetField(char **word,char **text,char delimiter,short *dataLength);
  8. void GetLine(char **line,char **text);
  9. void GetNumber(long *number,char **text);
  10. void StripLF(char *text,unsigned long *textLength);
  11. void CopyWord(char *dest,char *sourceStream);
  12. void CopyLine(char *dest,char *sourceStream);
  13. void CopyAndUnfoldLine(char *dest,char *sourceStream);
  14. OSErr AddLF(char *preLF,char **postLF);
  15.